package com.ww.yaodao;

import com.ww.yaodao.config.MapStructConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = "com.ww.yaodao")
@MapperScan("com.ww.yaodao.mapper")
@EnableSwagger2
@Import({MapStructConfig.class})
public class mainApplication {
    public static void main(String[] args) {
        SpringApplication.run(mainApplication.class,args);
    }
}
